Ctrl-W (select word) in editor selects a word at the caret and also allows to select expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc.